<template>
  <div class="my_div">
    <img :src="url" alt="">
  </div>
</template>

<script>
export default {
data(){
  return{
    url:"https://ts1.cn.mm.bing.net/th/id/R-C.e2fec6af27f3081b5fa5103f6585bf58?rik=OcNWuJ0GOQPsPA&riu=http%3a%2f%2fpic01.tuku.com.cn%2ffile_thumb%2f201210%2fm2012101305581978.jpg&ehk=1DeXoh%2fIvcpDXKSpLJH%2bzFypAo%2byouvfBGHOq8Xblpo%3d&risl=&pid=ImgRaw&r=0"
  }
}
}
</script>

<style>
.my_div{
  width: 200px;
  border:1px solid black;
  text-align: center;
  float: left;
}
.my_div img{
  width: 100%;
  height: 200px;
}
</style>
